Enter the Parking Space

  • Function:

    beta_go.into_park_space(garage_class)
    
  • Description: Magician Go enters the parking space of supermarket or warehouse. It is used with map.

  • Required parameter:

    • garage_class: type of parking space. 0: warehouse; 1: supermarket
  • Return:
    • True: The command has been finished.
    • False: The command has not been finished.
  • Example

    Start line patrol from the initial position, and Magician Go enters the parking space of warehouse.

    go.set_odometer_data(x=0, y=0, yaw=0)                #Reset(set the starting point)
    go.set_auto_trace(trace=1)                           #Start line patrol
    go.set_trace_speed(speed=20)                         #Set speed of line patrol                  
    beta_go.stop_point(point=[250, 50], scope=20, err=2) #Stop at the target point(250,50)
    go.set_rotate(r=90, Vr=40)                           #Rotate 90°
    beta_go.into_park_space(garage_class=0)              #Enter warehouse parking space
    

results matching ""

    No results matching ""